<?php /** @var $this \Action\Login */ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="/static/css/base.css">
    <link rel="stylesheet" href="/static/css/login.css">
</head>
<body>

<div class="login-block">
    <form class="login-form" action="/?a=operator.login" method="post">
        <h3 class="login-form-title">登录</h3>
        <p class="login-form-msg"><?php echo $this->readMessage() ?></p>
        <div class="login-form-item">
            <label class="login-form-txt">账号</label>
            <input class="login-form-input" name="user" type="text" placeholder="请输入账号" value="<?= $_GET['user'] ?>">
        </div>
        <div class="login-form-item">
            <label class="login-form-txt">密码</label>
            <input class="login-form-input" name="password" type="password" placeholder="请输入密码">
        </div>
        <div class="login-form-action">
            <button class="button button-login" type="submit">登录</button>
        </div>

    </form>
</div>

</body>
</html>